<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/Static/pc/css/basic.css"/>
<link rel="stylesheet" type="text/css" href="/Static/pc/css/stre.css"/>
<script type="text/javascript" src="/Static/pc/js/DD_belatedPNG.js"></script>
<script type="text/javascript" src="/Static/pc/js/jquery.js"></script>
<title>牛人网 - 注册会员</title>
</head>
<!--[if IE 6]>
<script type="text/javascript" src="./DD_belatedPNG.js"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('*');
</script>
<![endif]-->
<body>
<!--head-->
<div class="sty_top">
	<div class="sty_top_bg">
    	<div class="sty_logo">
        	<a href="index.html"><img src="/Static/pc/images/logo.png" /></a>
        </div>
        <p class="sty_top_login fr">已有牛人账户，请直接<a href="/index.php/Home/index/login">登录</a></p>
    </div>
</div>
<div class="sty_main">
	<div class="sty_main_left">
    	<h1>快速注册</h1>
        <input id="username" type="text" class="my-btn fl"  name="my-keyword" placeholder="邮箱/手机号" />
        <input id="password" type="password" class="my-btn fl"  name="my-keyword" placeholder="设置密码" />
   		<div class="my_possword fl">
           	<input id="verifycode" type="text" class="my-ver fl"  name="my-keyword" placeholder="验证码" />
                <span class="verification_code fl">
                	 <a href="#"><img src="/index.php?m=Admin&c=Public&a=verify_code" /></a>
                </span>
		</div>
       	<div class="agreement fl">
			<input id="isRead" type="checkbox" class="fl" name=""/>我已阅读《牛人网服务条款》
        </div>
        <div class="zhuce">
        	<a href="javascript:doReg()">注册</a>
        </div>
    </div>
	<div class="sty_main_right">
    	<h1>
        	<span>免注册</span>
            <span>快速登录</span>
        </h1>
        <div style="width:450px; height:50px; margin-top:20px;">
        	<span class="qq_btn">
            	<a href="http://id.qq.com/login/ptlogin.html">用QQ帐号登录</a>
        	</span>
        </div>
        <div class="micro"><a href="http://weibo.com/">用微博帐号登录</a></div>
    </div>
</div>
<!--footer-->
<div class="footer_bg clearfix">
	<div class="footer_top">
    	<a href="stre.html" class="join"></a>
    	<div class="f_msg">
        	<a href="#" class="weibo">@牛人理财师</a>
            <a href="#" class="wx">@关注牛人</a>
            <a href="#" class="mail">liuren@sta.sina.com.cn</a>
        </div>
    </div>
</div>
<div class="footer_bt_bg">
	<div class="footer_buttom">
    	<p>
        	<a href="#">关于新浪理财师</a> | 
            <a href="#">关于新浪</a> | 
            <a href="#">联系我们</a>  |
            <a href="#"> 帮助中心</a>  |
            <a href="#"> 官方微博</a>  |
            <a href="#"> 理财师入驻</a>
       	</p>
		<p><i class="ico_mz">免责声明：</i>新浪理财师平台仅提供服务对接功能，所有理财师提供的咨询建议，仅供参考；用户须独立作出投资决策，风险自担。
        </p>
		<p>用户必读<a href="#" class="current_red">《新浪理财师付费/免费服务使用协议》投资有风险，入市需谨慎！</a></p>
		<p>Copyright ©1996-2015 SINA Corporation, All Rights Reserved</p>
		<p>新浪公司　版权所有</p>
        </p>
    </div>
</div>
<script type="text/javascript">
	function doReg(){
		var username = $("#username").val();
		var password = $("#password").val();
		var verifycode = $("#verifycode").val();
		var isRead = $("#isRead").is(":checked");
		if(username == "") return alert("请输入邮箱/手机号码！");
		var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		if (!filter.test(username)){
			filter = /^1\d{10}$/;
			if(!filter.test(username)) return alert("请输入正确的邮箱或手机号码！");
		}
		if(password == "") return alert("请输入密码！");
		if(verifycode == "") return alert("请输入验证码！");
		if(!isRead) return alert("您必须阅读和同意《牛人网服务条款》");

		jQuery.post("doReg",{username:username,password:password,verifycode:verifycode},function(data){
			if(data.status == 0){
				alert(data.info);
			}else{
				alert("注册成功");
			}
		});
	}
</script>
</body>
</html>
